.PHONY: all
all: server client
flag=-DMYSELF
lib=-ljsoncpp
server: server.cc
	g++ -o $@ $^ -std=c++11 $(lib) $(flag)
client: client.cc
	g++ -o $@ $^ -std=c++11 $(lib) $(flag)
clean:
	rm -f server client